<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../taglibs.jsp" %>
<script type="text/javascript">
	$(function() {
		$("#query").click(function() {
			$("[name='pageNum']").val(1);
			$("form:first").submit();
		});
	});
</script>
<div class="content-right">
	<div class="content-r-pic_w">
		<div style="margin:8px auto auto 12px;margin-top:6px">
			<span class="page_title">仓库货物明细</span>
		</div>
	</div>
	<div class="content-text">
		<form action="list.jsp" method="post">
			<div class="square-o-top">
				<table width="100%" border="0" cellpadding="0" cellspacing="0"
					style="font-size:14px; font-weight:bold; font-family:"黑体";">
					<tr>
						<td width="10%">商品名称:</td>
						<td width="20%"><input type="text" size="20" /></td>
						<td>库存:</td>
						<td><input type="text" size="20" /></td>
						<td>到：</td>
						<td><input type="text" size="20" /></td>
						
						<td width="">
							<a id="query"><img src="${path}/images/can_b_01.gif" border="0" /> </a></td>
					</tr>
				</table>
			</div>
			<!--"square-o-top"end-->
			<div class="square-order">
				<table width="100%" border="1" cellpadding="0" cellspacing="0">
					<tr align="center"
						style="background:url(${path}/images/table_bg.gif) repeat-x;">
						<td width="25%" height="30">商品名称</td>
						<td width="25%">生产厂家</td>
						<td width="25%">供应商</td>
						<td width="25%">库存量</td>
					</tr>
					<s:iterator value="#page.list" var="sd">
					<tr align="center" bgcolor="#FFFFFF">
							<td height="30"><s:property value="#sd.product.name"/></td>
							<td><s:property value="#sd.product.producer"/></td>
							<td><s:property value="#sd.product.productType.name"/></td>
							<td><s:property value="#sd.num"/></td>
							
						</tr>
					</s:iterator>
						
						
				</table>
			</div>
		</form>
	</div>
	<div class="content-bbg"></div>
</div>
